package com.pan.admin.module.crm.entity.qo;

import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Description:
 * @Author: ghb
 * @Date: 2023/11/13 17:15
 */

public class CrmDistributeLoanUserQO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 机构ID
     */
    private Long loanProductId;

    /**
     * 渠道主键id
     */
    private Long loanChannelId;

    /** 用户主键ID */
    private Integer loanUserId;

    /** 系统用户主键id */
    private Integer userId;

    /** 系统部门主键id */
    private Integer deptId;

    /**
     * 用户账户
     */
    private String userName;

    /**
     * 员工用户账户
     */
    private String sysName;

    /**
     * 渠道名称
     */
    private String channelName;

    /**
     * 唯一编码
     **/
    private String uniqueCode;

    /**
     * 渠道链接
     **/
    private String link;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 手机号md5值
     */
    private String phoneMd5;

    /**
     * 地区编码
     */
    private String areaCode;

    /**
     * 银行卡号
     */
    private String bankCard;

    /**
     * 身份证号
     */
    private String idcard;

    /**
     * ip地址
     */
    private String ip;

    /**
     * 地区名称
     */
    private String areaName;

    /**
     * 浏览器名
     */
    private String browserName;

    /**
     * 操作系统名
     */
    private String osName;

    /**
     * 设备类型
     */
    private String deviceType;

    /**
     * 其他渠道已注册(0未注册，1已注册)
     */
    private String isChannelRegister;

    /**
     * 备注
     */
    private String remark;

    /**
     * 渠道类型(1H5，2APP)
     */
    private Integer type;

    /**
     * 渠道版本(0 h5V1, 1 h5v2, 2 appv1)
     */
    private Integer version;


    public Integer getLoanUserId() {
        return loanUserId;
    }

    public void setLoanUserId(Integer loanUserId) {
        this.loanUserId = loanUserId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPhoneMd5() {
        return phoneMd5;
    }

    public void setPhoneMd5(String phoneMd5) {
        this.phoneMd5 = phoneMd5;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public Long getLoanProductId() {
        return loanProductId;
    }

    public void setLoanProductId(Long loanProductId) {
        this.loanProductId = loanProductId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLoanChannelId() {
        return loanChannelId;
    }

    public void setLoanChannelId(Long loanChannelId) {
        this.loanChannelId = loanChannelId;
    }

    public String getUniqueCode() {
        return uniqueCode;
    }

    public void setUniqueCode(String uniqueCode) {
        this.uniqueCode = uniqueCode;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getBrowserName() {
        return browserName;
    }

    public void setBrowserName(String browserName) {
        this.browserName = browserName;
    }

    public String getOsName() {
        return osName;
    }

    public void setOsName(String osName) {
        this.osName = osName;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getIsChannelRegister() {
        return isChannelRegister;
    }

    public void setIsChannelRegister(String isChannelRegister) {
        this.isChannelRegister = isChannelRegister;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loanChannelId", getLoanChannelId())
                .append("ip", getIp())
                .append("areaName", getAreaName())
                .append("browserName", getBrowserName())
                .append("osName", getOsName())
                .append("deviceType", getDeviceType())
                .append("isChannelRegister", getIsChannelRegister())
                .append("createTime", getCreateTime())
                .append("remark", getRemark())
                .toString();
    }
}
